<?php echo $this->render('header.phtml'); ?>
<div id="error_message">
<h3>您浏览的网页暂时不能显示哦.</h3>
<p><?php echo $this->message ?> (<?php echo $this->code ?>) </p>
<p>啊噢，这里还没有人来过哦，要不去 <a href="/index.html">首页</a> 逛逛吧！</p>
<?php
if( $this->env == 'development' ) {
    if ( isset($this->info ) ) {
        if ( 404 == $this->code ) { ?>
  <p><b>错误原因:</b> <?php echo $this->info ?></p>
<?php } elseif (500 == $this->code) { ?>
  <h4>Exception information:</h4>
 <p><b>Message:</b> <?php echo $this->info->getMessage() ?></p>
 <h4>Stack trace:</h4>
 <pre><?php echo $this->info->getTraceAsString() ?></pre>
<?php } ?>
<?php } ?>
<?php } ?>
</div>
<?php echo $this->render('footer.phtml'); ?>